// 全局样式
import "./assets/style/style.css";
import "./assets/style/style.scss";
import "./assets/icon/css/font-awesome.min.css";
//引入cesium基础库
import "mars3d-cesium/Build/Cesium/Widgets/widgets.css";
//导入mars3d主库
import "mars3d/dist/mars3d.css";
// 全局组件
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
// elemrnt UI
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
export const app = createApp(App);
// 注册所有图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}
/**
 * 挂载依赖
 */
app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
});
app.mount("#app");
// 全局组件
// 功能窗口
import functional from "@/components/functionalwindow.vue";
app.component("functional", functional);
